home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
utils
/
fstmp105.zip
/
FSTAMP.DOC
< prev
next >
Wrap
Text File
|
1996-01-19
|
7KB
|
153 lines
F S T A M P
File Stamp v1.05
Copyright (c) 1996 Robert B. Clark
All rights reserved.
─────────────────────────────────────
DISCLAIMER OF WARRANTY:
───────────────────────
This software program and documentation ("FSTAMP") is being offered for
evaluation purposes "as is" and without warranties as to performance or
merchantability. By using FSTAMP, you are expressly releasing Robert B.
Clark from any liability resulting from the use of this software and
documentation. The user must assume the entire risk of using FSTAMP. Because
of the diversity of conditions, hardware and operating environments under
which FSTAMP may be used, no warranty of fitness for a particular purpose is
offered. The user is advised to test and supervise FSTAMP thoroughly before
relying upon it.
LICENSE:
────────
FSTAMP is FREEWARE and you are encouraged to freely distribute it via
electronic or magnetic media as long as the author's original attributions
and copyright notice remain intact. No charge may be levied for this
program other than a nominal fee for BBS access or for media costs.
┌───────────╖
│ MANIFEST: ║
└───────────╝
If your package doesn't contain these files, complain to someone:
FILE_ID.DIZ Description for use with the more enlightened BBSes.
FSTAMP.DOC This file. Installation and usage instructions.
FSTAMP.EXE The FSTAMP program executable.
McAfee Validate v2.0.1:
───────────────────────
FSTAMP EXE 18530 01-19-96 1:05a 23C7 D6B1
┌────────╖
│ USAGE: ║
└────────╝
Extract the FSTAMP105 archive into a directory listed in your PATH.
Type "FSTAMP /?" to view the help screen:
┌───────────────────────────────────────────────────────────────────────────┐
│ File Stamp stamps a file with a specified date and/or time. │
│ │
│ FSTAMP filespec [date][time] │
│ │
│ filespec File name(s) to stamp. Wildcards are acceptable. │
│ date Use the form DD.MM.YY. │
│ time Use the form HH:MM:SS. │
│ │
│ Omitted fields of the date and time default from the system date and time.│
│ The date and time arguments are interchangeable. │
│ │
│ FSTAMP v1.05 Copyright(c) 1996 Robert B. Clark <rclark@iquest.net>. │
│ All rights reserved. This program is freeware. │
└───────────────────────────────────────────────────────────────────────────┘
The 'filespec' argument is required. If the file or files specified by
'filespec' are not found, FSTAMP terminates with errorlevel 255.
FSTAMP can change the date and time of any normal, system, hidden or
read-only file as long as the file may be opened in shared, read access.
The attribute bit will be updated when the file is stamped.
FSTAMP does not work on disk volume labels or directories.
The 'date' and 'time' arguments specify the date with which the files
will be stamped. Any missing fields in the date and time arguments
default from the current system date and time.
For example, if the current date were 22 July 1995 at 17:00:12,
fstamp //98 would mean fstamp 07/22/1998 17:00:12
fstamp /5 1:00p would mean fstamp 07/05/1995 13:00:12 and
fstamp 10 13 would mean fstamp 10/22/1995 13:00:12
The format of date and time is dependent upon the country detected at
runtime (see COUNTRY in your DOS manual). If your computer is set up to
use the German language support for DOS (country code 049), the program
expects the date to be in "DD.MM.YY" format and will parse the date you
enter accordingly.
Incidentally, the help screen always displays the correct date and time
conventions for the current country. As a matter of fact, the help
screen in this document was grabbed while the author was using the German
code page.
If the 'date' argument contains a colon (:), FSTAMP assumes that the
argument is meant to be a time instead of a date and will obligingly
switch the 'date' and 'time' arguments for you. Thus,
fstamp 10:15 8/30
will be parsed as 30 Aug 10:15 instead of 15 Oct 08:30.
┌───────────╖
│ EXAMPLES: ║
└───────────╜
Revision Control
────────────────
To set all of the *.DOC files in the C:\WP51\WORK directory to to the
time 01:10:04 a.m. (perhaps to indicate Rev 1.10b of a proposal):
C:\>FSTAMP c:\wp51\work\*.doc 1:10:04
Note that the date was omitted--FSTAMP will use the current date.
Illegal Date/Time
─────────────────
You can take this revision marking thing a little further and say
C:\>FSTAMP *.CPP 1:63:0
which stamps all of the *.CPP files in the current directory with the
"illegal" time of 01:63:00 a.m. (aka 2:04 a.m.).
While we're on the subject, here are the permissable limits for date and
time in the world of DOS:
The date limits: The time limits:
┌────────────────────────────────╥────────────────────────────────┐
│ Day = mod 32 (0..31) ║ Hour = mod 32 (0..31) │
│ Month = mod 16 (0..15) ║ Minute = mod 64 (0..63) │
│ Year = mod 128 (1980..2107) ║ Seconds = mod 63 (0..62) │
└────────────────────────────────╨────────────────────────────────┘
While you can have fun dating your files 00/00/00 (00/00/2000), you may
want to be aware that many programs go insane (or at least slightly
schizophrenic) when encountering odd dates and times--that includes DOS.
For a really good time, try dating a file 00/00/1980.
That's all there is to it. Enjoy!
─────────────────────────────────────────────────────────────────────────────
The author may be contacted at:
E-Mail: rclark@iquest.net
RelayNET: Shareware or Common conferences r/ro to ROBERT CLARK at ->5